package com.eduhzy.ttw.teacher.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import com.eduhzy.ttw.teacher.di.module.ChooseSubjectModule;
import com.eduhzy.ttw.teacher.mvp.contract.ChooseSubjectContract;
import com.jess.arms.di.scope.ActivityScope;
import com.eduhzy.ttw.teacher.mvp.ui.activity.ChooseSubjectActivity;

@ActivityScope
@Component(modules = ChooseSubjectModule.class, dependencies = AppComponent.class)
public interface ChooseSubjectComponent {
    void inject(ChooseSubjectActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        ChooseSubjectComponent.Builder view(ChooseSubjectContract.View view);

        ChooseSubjectComponent.Builder appComponent(AppComponent appComponent);

        ChooseSubjectComponent build();
    }


}